HTMLImageElement = function HTMLImageElement() {//构造函数
        throw new TypeError("Illegal constructor");

}; catvm.safefunction(HTMLImageElement);

; (function () {
    const $safe_get_attribute = ['align', 'alt', 'border', 'complete', 'crossOrigin', 'currentSrc', 'decoding', 'height', 'hspace', 'isMap', 'loading', 'longDesc', 'lowsrc', 'name', 'naturalHeight', 'naturalWidth', 'referrerPolicy', 'sizes', 'src', 'srcset', 'useMap', 'vspace', 'width', 'x', 'y'];
    const $safe_set_attribute = ['align', 'alt', 'border', 'crossOrigin', 'decoding', 'height', 'hspace', 'isMap', 'loading', 'longDesc', 'lowsrc', 'name', 'referrerPolicy', 'sizes', 'src', 'srcset', 'useMap', 'vspace', 'width'];
    const $safe_func_attribute = ['decode'];

    HTMLImageElement.prototype = {
        get align() {
            if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
            return {};
        }
    };


    // Object.setPrototypeOf(HTMLImageElement.prototype, HTMLElement.prototype);
    // Object.setPrototypeOf(HTMLImageElement, HTMLElement);

})();

// catvm.memory.htmlElements["img"] = function () {
//     return new HTMLImageElement();
// }






var Image = function Image(){
    // throw new TypeError("Illegal constructor");
    return HTMLImageElement;
};catvm.safefunction(Image);
(function () {
    Image.prototype = HTMLImageElement.prototype;
})();
Object.defineProperties(Image.prototype,{
    [Symbol.toStringTag]:{
        value:"Image",
        configurable:true
    }
});
